<?php
$id = isset($_GET['id'])?(int)$_GET['id']:0;

$where_sql=" where lc_id = {$id} ";
if($lanmu){
	$where_sql.=" and lanmu={$lanmu}";
	}
if($c_id){
		
		$where_sql.=" and c_id ={$c_id}";
		}
$sql = "select * from ".lc()."_job ".$where_sql;
$rs = mysql_query($sql);
if($rs){
	$rows = mysql_fetch_assoc($rs);
	}
?>

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo top_keys(7)?></title>
<meta name="description" content="<?php echo top_keys(9)?>">
<meta name="keywords" content="<?php echo top_keys(8)?>">
<link href="<?php echo TPL_URL?>style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="body"><?php require('head.php')?>
  <div id="middle">
    <div id="left">
      <div id="type">
        <div class="title">
          <h1>栏目分类</h1>
        </div>
        <ul>
          <li><a href="index.php?p=job_list">招贤纳士</a></li>
          <li><a href="index.php?p=jianli">投递简历</a></li>
        </ul>
      </div>
      <!-- type --></div>
    <!-- left --> 
    <div id="right">
      <div class="title">
        <h1>招贤纳士</h1>
        <h3><a href="index.php">首页</a> > 招贤纳士</h3>
      </div>
      <div id="news_con">
       <h1 class="h1"><?php echo $rows['lc_title']?></h1>
       <?php echo $rows['lc_content']?> <br>
        <center>
          <a href="index.php?p=jianli&id=<?php echo $rows['lc_id']?>">——————> 投简历 <——————</a>
        </center>
      </div>
    </div>
    <!-- right -->
    <div class="clear"></div>
  </div>
  <?php require('bot.php') ?></div>
<!-- body --> 
<br>
<br>
</body>
</html>
